﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="CoreInmobiliario.Frontend.Login" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>CoreInmobiliario</title>
    <link href="Css/FrontendCoreInmobiliario.css" rel="stylesheet" />
</head>
<body class="body">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManagerLogin" runat="server" EnableScriptGlobalization="True" 
            EnableScriptLocalization="True" EnablePageMethods="true">
        </asp:ScriptManager>
        <div id="LoginBackground">
            <div id="LoginForm">  
                <asp:Image id="imgHeaderLogin" runat="server" ImageUrl="~/Images/Style/header_login.png" />
                <div style="padding-top:20px; padding-left:15px;">
                    <table>
                        <tr>
                            <td>
                                <div class="label">Usuario</div>
                            </td>
                            <td>
                                <asp:TextBox ID="txtUsuario" runat="server" CssClass="textbox"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div class="label">Contraseña</div>
                            </td>
                            <td>
                                <asp:TextBox ID="txtPassword" runat="server" CssClass="textbox" TextMode="Password" ></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                            
                    <center>
                        <asp:UpdatePanel ID="upLoginError" runat="server">
                            <ContentTemplate>
                                <asp:Label ID="lblError" runat="server" ForeColor="Red" Font-Size="9" ></asp:Label>
                                <br />
                                <br />
                                <asp:Button ID="btnLogin" runat="server" CssClass="button" Text="Ingresar" 
                                    onclick="btnLogin_Click" />
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </center>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
